A DangerLabs Grouper user (<%= @bundle.user.email %>) has shared a group with you!
<br /><br />
<i><%= h @message %></i>
<br /><br />
Click on the link below to accept it:
<br />
<%= link_to "Copy this group to my account", @share_url %>
<br /><br />
<b>Title:</b>&nbsp;<%= @bundle.title %><br />
<b>Notes:</b>&nbsp;<%= @bundle.notes %><br />
<b>Listings</b> (<%= @bundle.current_postings.length %>)<b>:</b>&nbsp;<br />
<%- @bundle.current_postings.each { |posting| -%>
	&nbsp;&nbsp;<a href="<%=prosper_listing_url(posting)%>"><%= posting.title %></a><br />
	<%- } %>
<br />

<table cellspacing="10">
    <tr>
      <td>Averages</td>
      <th>This Group</th>
      <th>All Groups</th>
    </tr>
    <tr>
      <th align="left">Credit Score</th>
      <td align="left"><%= credit_grade @bundle.aggregates[:credit_score] %></td>
      <td align="left"><%= credit_grade @bundle.user.bundle_aggregates[:credit_score] %></td>
    </tr>
    <tr>
      <th align="left">Loan Amount</th>
      <td align="left"><%= amount_requested @bundle.aggregates[:amount_requested] %></td>
      <td align="left"><%= amount_requested @bundle.user.bundle_aggregates[:amount_requested] %></td>
    </tr>
    <tr>
      <th align="left">Borrower APR</th>
      <td align="left"><%= percentage @bundle.aggregates[:borrower_apr] %></td>
      <td align="left"><%= percentage @bundle.user.bundle_aggregates[:borrower_apr] %></td>
    </tr>
    <tr>
      <th align="left">Debt/Income</th>
      <td align="left"><%= percentage @bundle.aggregates[:debt_to_income_ratio] %></td>
      <td align="left"><%= percentage @bundle.user.bundle_aggregates[:debt_to_income_ratio] %></td>
    </tr>
    <tr>
      <th align="left">Funding</th>
      <td align="left"><%= percentage @bundle.aggregates[:percent_funded] %></td>
      <td align="left"><%= percentage @bundle.user.bundle_aggregates[:percent_funded] %></td>
    </tr>
    <tr>
      <th align="left">Bids</th>
      <td align="left"><%= @bundle.aggregates[:bid_count] %></td>
      <td align="left"><%= @bundle.user.bundle_aggregates[:bid_count] %></td>
    </tr>
  </table>
<br />
